package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-OSPFV2接口配置对象 element_ospfv2_port
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementOspfv2Port extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 网元 */
    @Excel(name = "网元")
    private String elementName;

    /** 接口名 */
    @Excel(name = "接口名")
    private String portName;

    /** OSPF进程ID */
    @Excel(name = "OSPF进程ID")
    private String ospfId;

    /** 域ID */
    @Excel(name = "域ID")
    private String domainId;

    /** 接口代价 */
    @Excel(name = "接口代价")
    private String portCost;

    /** 保持时间（秒） */
    @Excel(name = "保持时间", readConverterExp = "秒=")
    private String keepTime;

    /** 忽略MTU */
    @Excel(name = "忽略MTU")
    private String ignoreMtu;

    /** 网络类型 */
    @Excel(name = "网络类型")
    private String netType;

    /** 优先级 */
    @Excel(name = "优先级")
    private String first;

    /** 重传间隔（秒） */
    @Excel(name = "重传间隔", readConverterExp = "秒=")
    private String retryInterval;

    /** 更新间隔（秒） */
    @Excel(name = "更新间隔", readConverterExp = "秒=")
    private String updateInterval;

    /** HELLO发送间隔（秒） */
    @Excel(name = "HELLO发送间隔", readConverterExp = "秒=")
    private String helloInterval;

    /** 抑制使能 */
    @Excel(name = "抑制使能")
    private String holdEnable;

    /** 认证设置 */
    @Excel(name = "认证设置")
    private String approveConfig;

    /** FRR使能 */
    @Excel(name = "FRR使能")
    private String frrEnable;

    /** 数据库过滤使能 */
    @Excel(name = "数据库过滤使能")
    private String dbFilterEnable;

    /** LDP与IGP同步 */
    @Excel(name = "LDP与IGP同步")
    private String ldpSyncIgp;

    /** BFD使能 */
    @Excel(name = "BFD使能")
    private String bfdEnable;

    /** SR接口配置 */
    @Excel(name = "SR接口配置")
    private String srConfig;

    /** BFD属性 */
    @Excel(name = "BFD属性")
    private String bfdAttribute;

    /** 信号衰减开销 */
    @Excel(name = "信号衰减开销")
    private String dampSpend;

    /** 接口多实例ID */
    @Excel(name = "接口多实例ID")
    private String portDemoId;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setElementName(String elementName) 
    {
        this.elementName = elementName;
    }

    public String getElementName() 
    {
        return elementName;
    }
    public void setPortName(String portName) 
    {
        this.portName = portName;
    }

    public String getPortName() 
    {
        return portName;
    }
    public void setOspfId(String ospfId) 
    {
        this.ospfId = ospfId;
    }

    public String getOspfId() 
    {
        return ospfId;
    }
    public void setDomainId(String domainId) 
    {
        this.domainId = domainId;
    }

    public String getDomainId() 
    {
        return domainId;
    }
    public void setPortCost(String portCost) 
    {
        this.portCost = portCost;
    }

    public String getPortCost() 
    {
        return portCost;
    }
    public void setKeepTime(String keepTime) 
    {
        this.keepTime = keepTime;
    }

    public String getKeepTime() 
    {
        return keepTime;
    }
    public void setIgnoreMtu(String ignoreMtu) 
    {
        this.ignoreMtu = ignoreMtu;
    }

    public String getIgnoreMtu() 
    {
        return ignoreMtu;
    }
    public void setNetType(String netType) 
    {
        this.netType = netType;
    }

    public String getNetType() 
    {
        return netType;
    }
    public void setFirst(String first) 
    {
        this.first = first;
    }

    public String getFirst() 
    {
        return first;
    }
    public void setRetryInterval(String retryInterval) 
    {
        this.retryInterval = retryInterval;
    }

    public String getRetryInterval() 
    {
        return retryInterval;
    }
    public void setUpdateInterval(String updateInterval) 
    {
        this.updateInterval = updateInterval;
    }

    public String getUpdateInterval() 
    {
        return updateInterval;
    }
    public void setHelloInterval(String helloInterval) 
    {
        this.helloInterval = helloInterval;
    }

    public String getHelloInterval() 
    {
        return helloInterval;
    }
    public void setHoldEnable(String holdEnable) 
    {
        this.holdEnable = holdEnable;
    }

    public String getHoldEnable() 
    {
        return holdEnable;
    }
    public void setApproveConfig(String approveConfig) 
    {
        this.approveConfig = approveConfig;
    }

    public String getApproveConfig() 
    {
        return approveConfig;
    }
    public void setFrrEnable(String frrEnable) 
    {
        this.frrEnable = frrEnable;
    }

    public String getFrrEnable() 
    {
        return frrEnable;
    }
    public void setDbFilterEnable(String dbFilterEnable) 
    {
        this.dbFilterEnable = dbFilterEnable;
    }

    public String getDbFilterEnable() 
    {
        return dbFilterEnable;
    }
    public void setLdpSyncIgp(String ldpSyncIgp) 
    {
        this.ldpSyncIgp = ldpSyncIgp;
    }

    public String getLdpSyncIgp() 
    {
        return ldpSyncIgp;
    }
    public void setBfdEnable(String bfdEnable) 
    {
        this.bfdEnable = bfdEnable;
    }

    public String getBfdEnable() 
    {
        return bfdEnable;
    }
    public void setSrConfig(String srConfig) 
    {
        this.srConfig = srConfig;
    }

    public String getSrConfig() 
    {
        return srConfig;
    }
    public void setBfdAttribute(String bfdAttribute) 
    {
        this.bfdAttribute = bfdAttribute;
    }

    public String getBfdAttribute() 
    {
        return bfdAttribute;
    }
    public void setDampSpend(String dampSpend) 
    {
        this.dampSpend = dampSpend;
    }

    public String getDampSpend() 
    {
        return dampSpend;
    }
    public void setPortDemoId(String portDemoId) 
    {
        this.portDemoId = portDemoId;
    }

    public String getPortDemoId() 
    {
        return portDemoId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("elementName", getElementName())
            .append("portName", getPortName())
            .append("ospfId", getOspfId())
            .append("domainId", getDomainId())
            .append("portCost", getPortCost())
            .append("keepTime", getKeepTime())
            .append("ignoreMtu", getIgnoreMtu())
            .append("netType", getNetType())
            .append("first", getFirst())
            .append("retryInterval", getRetryInterval())
            .append("updateInterval", getUpdateInterval())
            .append("helloInterval", getHelloInterval())
            .append("holdEnable", getHoldEnable())
            .append("approveConfig", getApproveConfig())
            .append("frrEnable", getFrrEnable())
            .append("dbFilterEnable", getDbFilterEnable())
            .append("ldpSyncIgp", getLdpSyncIgp())
            .append("bfdEnable", getBfdEnable())
            .append("srConfig", getSrConfig())
            .append("bfdAttribute", getBfdAttribute())
            .append("dampSpend", getDampSpend())
            .append("portDemoId", getPortDemoId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
